package com.jsh.erp.datasource.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;


/**
 * @author yy
 * @create 2025-08-01 09:42:55
 * @description
 */

@Data
@TableName(value ="jsh_production_process")
public class ProductionProcess {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value="production_order_id")
    private Long productionOrderId;

    @TableField(value="execution_order")
    private Integer executionOrder;

    @TableField(value="process_name")
    private String processName;

    @TableField(value="responsible_person")
    private Integer responsiblePerson;

    @TableField(value="billing_method")
    private Integer billingMethod;

    @TableField(value="labor_cost")
    private Double laborCost;

    @TableField(value="required_cost")
    private Double requiredCost;

    @TableField(value="planned_completion_date")
    private Date plannedCompletionDate;

    @TableField(value="remarks")
    private String remarks;

    @TableField(value="process_status")
    private Integer processStatus;

    @TableField(value="tenant_id")
    private Integer tenantId;

    @TableField(value="delete_flag")
    private String deleteFlag;

}
